<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>todoList页</title>
    <script src="./resources/jquery3-7-0.mini.js"></script>
</head>
<style>
    *{
        margin: 0;
        padding: 0;
    }
    .titleBox{
        width: 100vw;
        height: 30px;
        display: flex;
        border-bottom: 1px solid rgba(200, 200, 200, 0.5);
    }
    .titleBox #pinnedImage{
        float: right;
        width: 50px;
        height: 100%;
        transition: all 0.5s;
        user-select: none;
    }
    .titleBox .dailog{
        width: 300px;
        height: 100%;
        -webkit-app-region: drag;
    }
    .dailog p{
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        color: #fff;
        text-shadow:  1px 1px #000;
    }
    .titleBox img:nth-child(2){
        cursor: pointer;
    }
    body{
        background: rgba(255,0,0,0.5);
        /* background-image: url('images/yinghua.png');
        background-size: cover; */
    }
    .inputBox{
        width: 100vw;
        height: 5vh;
    }
    .inputBox input:nth-child(1){
        width: 80%;
        height: 100%;
    }
    .showBox{
        position: absolute;
        left: 0;
        top: 30vh;
        width: 100vw;
        height: 70vh;
        overflow-y: auto;
        /* background-color: skyblue; */
    }
    .deleteTODO{
        left: 100px;
        user-select:none;
        cursor:pointer;
        color: #fff;
        text-shadow: 1px 1px #000;
        transition: all 0.3s;
        
    }
    .deleteTODO:hover{
        color: skyblue;
    }
</style>
<body>
    <div>
        <div class="titleBox">
            <div class="dailog"><p>我的任务菜单栏</p></div>
            <img src="images/Pinned_xie.svg" alt="" id="pinnedImage" onclick="change()" />
            <img src="images/close.svg" alt="" onclick="clickClose()"/>
        </div>
    </div>
    <div class="inputBox">
        <form action="" onsubmit="return false">
            <input type="text" id="todoValue"/>
            <input type="submit" value="提交" onclick="todoSub()"/>
        </form>
    </div>
    <div class="showBox"></div>
</body>
<script src="./todoListJs.js"></script>
</html>